package com.vanke.kotlin.domain

/**
 * @name Kotlin
 * @package name：com.vanke.kotlin.domain
 * @class describe
 * @anthor shiyuchuan
 * @time 2017/7/31 15:20
 */
class RequestDayForecastCommand(val id: Long, val forecastProvider: ForecastProvider
= ForecastProvider()) :
        Command<Forecast> {

    override fun execute() = forecastProvider.requestForecast(id)
}